KV 缓存KV Cache
KV Cache
让模型逐字生成时不用每一步都重算整段话,生成速度才可用。Stops the model recomputing the whole passage on every token it generates — this is what makes generation speed usable.
把已经算过的注意力中间结果缓存起来,只为新 token 计算增量。
代价是它持续占用显存——这直接决定了你的显存能撑多长的上下文。
Caching the attention intermediates already computed, so only new tokens need incremental work.
The cost is that it occupies VRAM continuously — which directly caps how long a context you can afford.
这是本地部署时最常见的 OOM(显存不够)原因。上下文开大就先撞它。It is the most common cause of OOM when deploying locally. Raise the context size and you hit this first.
从业者深版:跑起来深水专题(AI 模型站)Practitioner deep-dive: serving deep dive guide (AI Models site) ↗
回到名词地图看第4段的其他 60 个词 →Back to the map: the other 60 terms in stage 4 →
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →